<?php
/**
 * UserActionFixture
 *
 */
class UserActionFixture extends CakeTestFixture {

/**
 * Fields
 *
 * @var array
 */
	public $fields = array(
		'id' => array('type' => 'integer', 'null' => false, 'default' => NULL, 'key' => 'primary'),
		'user_id' => array('type' => 'integer', 'null' => true, 'default' => NULL, 'length' => 5, 'key' => 'index'),
		'action_id' => array('type' => 'integer', 'null' => true, 'default' => NULL, 'comment' => 'The ID of the item being worked on, e.g. jobsheet_id'),
		'action_desc' => array('type' => 'string', 'null' => true, 'default' => NULL, 'length' => 200, 'collate' => 'latin1_swedish_ci', 'comment' => 'A Desc of the Action Carried Out, e.g. "created jobsheet"', 'charset' => 'latin1'),
		'action_dt' => array('type' => 'datetime', 'null' => true, 'default' => NULL, 'comment' => 'Date and Time of action'),
		'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'act_user_fk' => array('column' => 'user_id', 'unique' => 0)),
		'tableParameters' => array('charset' => 'latin1', 'collate' => 'latin1_swedish_ci', 'engine' => 'InnoDB')
	);

/**
 * Records
 *
 * @var array
 */
	public $records = array(
		array(
			'id' => 1,
			'user_id' => 1,
			'action_id' => 1,
			'action_desc' => 'Lorem ipsum dolor sit amet',
			'action_dt' => '2012-03-14 12:36:49'
		),
	);
}
